Configure as a Reverse Proxy
2013/05/12 |
Configure Squid as a Reverse Proxy
|
|
[1] | Configure Squid |
root@lan:~#
vi /etc/squid3/squid.conf # line 1136: specify web server's IP address for backend http_port 80 defaultsite=10.0.0.31
# line 1937: add cache_peer 10.0.0.31 parent 80 0 no-query originserver
# near line 842: add ( allow http all ) http_access allow all
/etc/init.d/squid3 restart Restarting Squid HTTP Proxy 3.x: squid3 Waiting.....................done. |
[2] | Change Settings of DNS or router if needed, and access to make sure the settings are enabled. |